<!DOCTYPE html>
<#assign ctx=Session.basePath>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>我的船队</title>
    <link href="${ctx}/easyui/themes/bootstrap/easyui.css" rel="stylesheet" />
    <link href="${ctx}/easyui/themes/icon.css" rel="stylesheet" />
    <link href="${ctx}/inspiniain/font-awesome/css/font-awesome.css" rel="stylesheet">
    <script src="${ctx}/js/jquery-1.12.2.min.js"></script>
    <script src="${ctx}/lib/jquery.form.js"></script>
    <script src="${ctx}/easyui/jquery.easyui.min.js"></script>
    <script src="${ctx}/easyui/locale/easyui-lang-zh_CN.js"></script>
    <script src="${ctx}/pagination/js/layer/layer.js"></script>
    <#--<script src="/pagination/js/pagination.js"></script>-->
</head>
<body id ="cc" class="easyui-layout">
<div  data-options="region:'west',title:'列表',split:true" style="width:100px;height: 100%;">
        <ul class="easyui-tree" data-options="animate:true">
            <li>
                <a href="#" onclick="addload('ownFleet')" style="color: black;text-decoration: none"><span>自有GPS船舶</span></a>
            </li>
            <li data-options="state:'closed'">
                <span>关注列表</span>
                <ul>
                <#list guanZhuList as guanzhu>
                    <li>
                        <a href="#" onclick="addload1('lieBiao',${guanzhu.id})" style="color: black;text-decoration: none" ><span>${guanzhu.name}</span></a>
                    </li>
                </#list>
                </ul>
            </li>
        </ul>
</div>
<div id="tt" data-options="region:'center',title:'显示'" style="width:200px;padding:5px;background:#eee;">

</div>
</body>
<script>
    $("#cc").layout();
    function addload(url) {
       $("#tt").load(url);
    }
    function addload1(url,data) {
        $("#tt").load(url,{id:data})
    }
</script>
</html>